| > !GraphDraw.!Run
|
| Run file for GraphDraw
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
| Find path to file
Set GraphDraw$Dir <Obey$Dir>
|
IconSprites <GraphDraw$Dir>.!Sprites
|
Run <GraphDraw$Dir>.Resources.Resfind GraphDraw
|
|
| set the application system variables for new help system
|
|Set GraphDraw$Help <GraphDraw$dir>.Documents.index/html
|Set GraphDraw$Version "2.68"
|Set GraphDraw$Web "http://www.chris-johnson.org/software/index.html"
|Set GraphDraw$Title "GraphDraw"
|Set GraphDraw$Publisher "Chris Johnson"
|Set GraphDraw$Description "Graphical data presentation"
|Set GraphDraw$Running "Yes"
|
| set up file types and run action
|
Set Alias$@RunType_7F3 /<GraphDraw$Dir>.!Run %%*0
Set File$Type_7F3 GraphFile
Set Alias$@RunType_A9F /<GraphDraw$Dir>.!Run %%*0
Set File$Type_A9F GraphDrw
Set File$Type_AA0 MultiPlt
|
If "<Font$Prefix>"="" Then Error You need to double click on !Fonts before running this application
|
RMEnsure Toolbox    1.41  RMLoad System:modules.toolbox.toolbox
RMEnsure Toolbox    1.41  ERROR You need the Toolbox module 1.41 to run GraphDraw
RMEnsure Window     1.47  RMLoad System:modules.toolbox.window
RMEnsure Window     1.47  ERROR You need the Window module 1.47 to run GraphDraw
RMEnsure ColourDbox 0.17  RMLoad System:modules.toolbox.colourdbox
RMEnsure ColourDbox 0.17  ERROR You need the ColourDbox module 0.17 to run GraphDraw
RMEnsure FontMenu   0.21  RMLoad System:modules.toolbox.fontmenu
RMEnsure FontMenu   0.21  ERROR You need the FontMenu module 0.21 to run GraphDraw
RMEnsure Menu       0.32  RMLoad System:modules.toolbox.menu
RMEnsure Menu       0.32  ERROR You need the Menu module 0.32 to run GraphDraw
RMEnsure Iconbar    1.18  RMLoad System:modules.toolbox.iconbar
RMEnsure Iconbar    1.18  ERROR You need the Iconbar module 1.18 to run GraphDraw
RMEnsure ProgInfo   0.14  RMLoad System:modules.toolbox.proginfo
RMEnsure ProgInfo   0.14  ERROR You need the ProgInfo module 0.14 to run GraphDraw
RMEnsure SaveAs     0.15  RMLoad System:modules.toolbox.saveas
RMEnsure SaveAs     0.15  ERROR You need the SaveAs module 0.15 to run GraphDraw
RMEnsure DCS	    1.08 RMLoad System:modules.toolbox.DCS_Quit
RMEnsure DCS        1.08 ERROR You need the DCS_Quit module 1.08 to run GraphDraw
|
| Ensure we have the Tabs module ----------------------------------------
X RMEnsure Tabs 0.00 RMLoad System:modules.Toolbox.Tabs
RMEnsure Tabs 0.09 RMLoad <GraphDraw$Dir>.Resources.RMStore.Tabs
RMEnsure Tabs 0.09 Error GraphDraw requires Tabs 0.09 to run


|
| Check memory allocation
WimpSlot -min 240K -max 240K
|
|
| Now start program
Run <GraphDraw$Dir>.!RunImage %*0
